package com.hc.cosmetichospital.pojo;

import java.util.Date;

import org.springframework.format.annotation.DateTimeFormat;

import com.fasterxml.jackson.annotation.JsonFormat;

/**
 * 项目收费
 * @author ASUS
 *
 */
public class ProjectCharge {
    private Integer prid;

    private Clients clients; //客户

    private String prtype; //项目类别

    private String prname; //项目名称

    private Integer prcount;//项目次数

    private String prunit;//单位

    private Double prprice;//项目总价格
    
    @JsonFormat(pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date prdate;//收费日期

    public Integer getPrid() {
        return prid;
    }

    public void setPrid(Integer prid) {
        this.prid = prid;
    }

    public Clients getClients() {
		return clients;
	}

	public void setClients(Clients clients) {
		this.clients = clients;
	}

	public String getPrtype() {
        return prtype;
    }

    public void setPrtype(String prtype) {
        this.prtype = prtype == null ? null : prtype.trim();
    }

    public String getPrname() {
        return prname;
    }

    public void setPrname(String prname) {
        this.prname = prname == null ? null : prname.trim();
    }

    public Integer getPrcount() {
        return prcount;
    }

    public void setPrcount(Integer prcount) {
        this.prcount = prcount;
    }

    public String getPrunit() {
        return prunit;
    }

    public void setPrunit(String prunit) {
        this.prunit = prunit == null ? null : prunit.trim();
    }

    public Double getPrprice() {
        return prprice;
    }

    public void setPrprice(Double prprice) {
        this.prprice = prprice;
    }

	public Date getPrdate() {
		return prdate;
	}

	public void setPrdate(Date prdate) {
		this.prdate = prdate;
	}
  
}